metalink: Fix behavior when requested file is not found
authorMatthew Barnes <mbarnes@redhat.com>
Sun, 14 Jun 2015 19:33:22 +0000 (15:33 -0400)
committerColin Walters <walters@verbum.org>
Tue, 16 Jun 2015 01:20:52 +0000 (21:20 -0400)
commitb6722f9d80e495b19f04ff629eb6d16b30b23923
tree43dc023ba03a08818b9f653723d91cb3d75d0c1f
parent5af7e8e8c242aabf3a65d317f833aee5396bc545
metalink: Fix behavior when requested file is not found

The state machine's "passthrough_previous" field never got set, so the
machine gets put back into the wrong state after a passthrough phase.
Couple other minor issues around error handling.
src/libostree/ostree-metalink.c